[refactor#40] 보안 및 인증 로직의 안정성 강화 #41
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 관련 이슈
#40
✨ 변경사항
✏️ 작업 내용
1. 소셜 로그인 토큰 보안 강화
RedirectPage에서 를 통해 Access Token을 가져온 후,해당 쿠키를 브라우저에 그대로 방치하는 보안 취약점이 있었음
2. 토큰 재발급 실패 시 상태 동기화
axiosInstance에서 재발급 실패 시에useAuthStore.getState().logout()를 호출해 메모리 상의 인증 상태도 함께 초기화하게 수정3. API Base URL 예외 처리 강화
😅 미완성 작업
N/A
📢 논의 사항 및 참고 사항
N/A